package com.ibeeking.gmc.global.g.rest.service;

import com.ibeeking.gmc.global.service.common.dos.AgreementDO;
import com.ibeeking.gmc.global.service.common.param.AgreementParam;
import com.ibeeking.gmc.global.service.common.query.AgreementPageQuery;
import com.ibeeking.gmc.global.service.common.vo.AgreementVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IAgreementService extends IService<AgreementDO> {

    AgreementVO view(Long id);

    Boolean add(AgreementParam agreementParam);

    Boolean modify(AgreementParam agreementParam);

    Boolean changeStatus(Long id , Integer status , Long modifyBy);

    Boolean del(Long id);

    Page<AgreementVO> pageList(AgreementPageQuery agreementPageQuery);

}
